package com.etone.smartAudit.dto.auditRisk;

import com.etone.smartAudit.dto.FileDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-06-18 08:59:27
 * @Description AuditRiskDTO
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "AuditRiskDTO", description = "审计风险")
public class AuditRiskDTO implements Serializable {

    @ApiModelProperty("一级目录")
    @NotEmpty
    private String level1;

    @ApiModelProperty("二级目录")
    @NotEmpty
    private String level2;

    @ApiModelProperty("疑点")
    @NotEmpty
    private String doubts;

    @ApiModelProperty("内容摘要")
    @NotEmpty
    private String contentAbstract;

    @ApiModelProperty("审计方法")
    @NotEmpty
    private String method;

    @ApiModelProperty("审计过程")
    @NotEmpty
    private String process;

    @ApiModelProperty("审计结果")
    @NotEmpty
    private String result;

    @ApiModelProperty("整改办法")
    @NotEmpty
    private String rectificationMeasures;

    @ApiModelProperty("下一步审核人id")
    @NotNull
    private Integer nodeAdminId;

    @ApiModelProperty("下一步审核人名称")
    @NotEmpty
    private String nodeAdminName;

    @ApiModelProperty("模版与附件")
    private List<FileDTO> moduleFiles;

    @ApiModelProperty("历史组织过程资产")
    private List<FileDTO> processAssetFiles;
}
